package com.vshop.entity.tradingrecord.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 根据iccid，时间查询支付交易记录，需要获取以下字段：
 * 1，支付流水
 * 2，支付币种
 * 3，支付金额
 * 4，支付请求时间
 * 5，支付完成时间
 * 6，客户卡片ICCID
 * 7，支付结果
 * 8，支付失败原因
 * 9，购买套餐编码
 * 10，购买周期
 *
 * @author lm
 * @date 2020/2/10
 */

@Data
public class ResponseTransactionRecord implements Serializable {

    @ApiModelProperty(value = "邮箱地址mail，有时有值，无值传空", example = "", dataType = "String")
    private String email;

    @ApiModelProperty(value = "支付流水号（支付订单号）", example = "", dataType = "String")
    private String payId;

    @ApiModelProperty(value = "卡片订单号", example = "", dataType = "String")
    private String orderId;

    @ApiModelProperty(value = "支付币种", example = "", dataType = "String")
    private String payCurrency;

    @ApiModelProperty(value = "支付金额", example = "", dataType = "String")
    private String payAmount;

    @ApiModelProperty(value = "支付请求时间", example = "", dataType = "String")
    private String requestDate;

    @ApiModelProperty(value = "支付完成时间", example = "", dataType = "String")
    private String payDate;

    @ApiModelProperty(value = "设备识别码：是iccid或者是imei号（用户卡号）", example = "89860012018111220455", dataType = "String")
    private String deviceCode;

    @ApiModelProperty(value = "支付结果", example = "", dataType = "String")
    private String payRst;

    @ApiModelProperty(value = "失败原因，payRst=success时为空字符", example = "", dataType = "String")
    private String failReason;

    @ApiModelProperty(value = "购买套餐编码", example = "", dataType = "String")
    private String packageCode;

    @ApiModelProperty(value = "购买套餐名称", example = "", dataType = "String")
    private String packageName;

    @ApiModelProperty(value = "订购周期", example = "", dataType = "String")
    private String orderPeriod;

    @ApiModelProperty(value = "归属渠道", example = "", dataType = "String")
    private String partnerName;
}
